package com.marry.daodaomanage.infrastructure.service.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class UserAccessToken{

	@JsonProperty("access_token")
	private String accessToken;

	@JsonProperty("distCode")
	private Object distCode;

	@JsonProperty("refresh_token")
	private String refreshToken;

	@JsonProperty("officeId")
	private Object officeId;

	@JsonProperty("scope")
	private String scope;

	@JsonProperty("userPost")
	private Object userPost;

	@JsonProperty("name")
	private Object name;

	@JsonProperty("userRank")
	private String userRank;

	@JsonProperty("token_type")
	private String tokenType;

	@JsonProperty("expires_in")
	private int expiresIn;

	@JsonProperty("userId")
	private int userId;

	public String getAccessToken(){
		return accessToken;
	}

	public Object getDistCode(){
		return distCode;
	}

	public String getRefreshToken(){
		return refreshToken;
	}

	public Object getOfficeId(){
		return officeId;
	}

	public String getScope(){
		return scope;
	}

	public Object getUserPost(){
		return userPost;
	}

	public Object getName(){
		return name;
	}

	public String getUserRank(){
		return userRank;
	}

	public String getTokenType(){
		return tokenType;
	}

	public int getExpiresIn(){
		return expiresIn;
	}

	public int getUserId(){
		return userId;
	}
}
